package com.cssl.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;
import java.util.List;

//解聘信息表
@TableName(value ="decruitment")
@Data
public class Decruitment {

    @TableId(type = IdType.AUTO)
    private Integer id;




    private String staff_id; //连接员工

    private String decruitmentDate; //解聘时间

    private String cuttlefish; //停止时间

    private String getting;//解聘原因

    private  int dept_id;//部门id



    private  int roleid;//角色id


    @TableField(exist = false)
    //部门
    public List<SysDept> sysDepts;

    @TableField(exist = false)
    //员工
    public List<SysStaff> sysStaffs;

    @TableField(exist = false)
    //角色
    public  List<PerRole> perRoles;




}
